package com.hnas.account.service;

import java.util.List;

import com.hnas.account.orm.Account;
import com.hnas.account.service.dto.DTOAccount;
import com.hnas.account.service.dto.search.DTOAccountSearch;
import com.hnas.core.dto.DTOPagedList;

public interface AccountService {

	Account saveOrUpdate(DTOAccount dto) throws Exception;
	DTOPagedList<DTOAccount> search(DTOAccountSearch criteria);
	
	Boolean register(DTOAccount dto);
	Account findById(String id);
	List<Account> findAll();
	
	DTOAccount setCardInfo(DTOAccount dto);
}
